home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_11333.txt < prev    next >
Text File  |  1991-04-30  |  1KB  |  52 lines

  1. -- card: 11333 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 3837
  5. -- name: MoveFile
  6.  
  7.  
  8. -- part contents for background part 5
  9. ----- text -----
  10. MoveFile
  11.  
  12. -- part contents for background part 10
  13. ----- text -----
  14. 7
  15.  
  16. -- part contents for background part 6
  17. ----- text -----
  18.  
  19. This moves files between folders on the same volume
  20. (it can't be used to copy files between volumes). 
  21.  
  22.  
  23.  
  24.  
  25.  
  26. Thanks to:
  27. Dewi Williams
  28. 2227 Juniper Court
  29. Boulder CO 80302
  30. (303) 443 9038
  31. Delphi: DEWI
  32.  
  33.  
  34. -- part contents for background part 7
  35. ----- text -----
  36. Syntax:
  37.  
  38. MoveFile (<OldName>,<NewFolder>)
  39.  
  40. This will return result will contain either0 (meaning a successful operation), 1 (meaning a parameter error), or a negative number (representing an operating system error).
  41.  
  42.  
  43. "OldName" is a full pathname of the file that you want to rename.
  44.  
  45. "Newfolder" specifies the destination folder.
  46.  
  47. You can use the OsErr* XCMD to interpret operating system errors.
  48.  
  49.  
  50. -- part contents for background part 27
  51. ----- text -----
  52. XFCN